<template>
 <div class='header'>
   <headermob v-if='isshow'/>
   <headerpc v-if='!isshow'/>
 </div>
</template>

<script>
import headermob from './headermob.vue'
import headerpc from './headerpc.vue'

   export default {
      data() {
          return {       
            
        }
      
      },
      props:['isshow'],
      //生命周期 - 创建完成
    created(){ 
     
     },

    mounted() {
      
     },
      methods: {
  
        

      },
      components:{
          headermob,
          headerpc
      }
 }
</script>

<style lang='less' scoped>
.header{
  width: 100%;
}

</style>